package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface CrawlerdetectService {

	public Crawlerdetect saveCrawlerdetect(Crawlerdetect crawlerdetect);

	public Set<Crawlerdetect> loadCrawlerdetects();

	public Set<Crawlerdetect> loadReferenceCrawlerdetects(Set<Crawlerdetect> crawlerdetects);

	public Set<Crawlerdetect> loadCrawlerdetectsByIdSet(Set<Integer> crawlerdetectsId);

	public Map<String, ?> loadCrawlerdetectObjectReferencedSet(Crawlerdetect crawlerdetect);

	public Map<String, ?> loadCrawlerdetectClassReferencedSet(Crawlerdetect crawlerdetect);

	public void deleteCrawlerdetect(Crawlerdetect crawlerdetect);

	public void deleteCrawlerdetects(Set<Integer> deleteCrawlerdetectsId);

	public List<Crawlerdetect> findAllCrawlerdetects(Integer startResult, Integer maxRows);

	public Crawlerdetect findCrawlerdetectByPrimaryKey(Integer id);

	public Integer countCrawlerdetects();

	public Integer countCrawlerdetects(CmiPagination page);

	public Integer countCrawlerdetectsByName(String queryName);

	public Integer countCrawlerdetectsByDetachedCriteria(CmiPagination page);

}
